package com.wtwd.wtwddevice.service;


import com.wtwd.device.protocol.WTProtocol;

public interface IDeviceSendService {

    String SERIALNUMBER_KEY = "WT";
    long SERIALNUMBER_MAX = 9999;
    long SERIALNUMBER_MIN = 1;

    Integer SERIALNUMBER_EXPIRE = 15;

    /**
     * 设备不在线不发
     *
     * @param wtProtocol
     * @return
     */
    boolean sendMsgDevice(WTProtocol wtProtocol);

    String generateNumber(String deviceKey);
}
